#pragma once
#include "libglew/glew.h"
#ifdef WIN32
#include <GL/glut.h>
#endif
#ifdef __APPLE__
#include <GLUT/glut.h>
#define MAC_TIGER
#endif
#include "FCollada.h"
#include "FCDocument/FCDocument.h"
#include "FCDocument/FCDAsset.h"
#include "FCDocument/FCDLibrary.h"
#include "FCDocument/FCDEffect.h"
#include "FCDocument/FCDEffectProfile.h"
#include "FCDocument/FCDEffectStandard.h"
#include "FCDocument/FCDGeometry.h"
#include "FCDocument/FCDMaterial.h"
#include "FCDocument/FCDGeometryMesh.h"
#include "FCDocument/FCDGeometryPolygons.h"
#include "FCDocument/FCDGeometryPolygonsTools.h"
#include "FCDocument/FCDGeometrySource.h"
#include "FUtils/FUFileManager.h"

namespace lib3dw
{
	class ColladaMaterialData
	{
		// Allow a model to access certain ColladaMaterialData members
		friend class ColladaModel;
		
		public:
			ColladaMaterialData(FCDocument* colladaDocument);
			~ColladaMaterialData();
		
		protected:
			GLfloat* ambientMaterial;
			GLfloat* diffuseMaterial;
			GLfloat* specularMaterial;
			GLfloat* emissionMaterial;
			GLfloat shininess;
		
		private:
			void ProcessMaterialLibrary(FCDMaterialLibrary* library);
	};
}